package com.winshare.saleAssistant.dao;

import com.winshare.saleAssistant.domain.entity.FeedbackDO;
import com.winshare.saleAssistant.domain.query.FeedbackQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface FeedbackMapper {

    int saveFeedback(FeedbackDO feedbackDO);

    int updateFeedback(FeedbackDO feedbackDO);

    int queryFeedbackCount(FeedbackQuery feedbackQuery);

    List<FeedbackDO> findFeedbackListByConditions(FeedbackQuery feedbackQuery);
}
